package com.yuyou.tas.admin.service;

import com.yuyou.tas.service.api.admin.entity.AuthOrganizationSubSec;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;

import java.util.List;


public interface IAuthOrganizationSubSecService {
    int deleteByPrimaryKey(Long id);

    int insert(AuthOrganizationSubSec record);

    AuthOrganizationSubSec selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthOrganizationSubSec record);
    
    ResBoolSimpleInfo<String> add(AuthOrganizationSubSec record);

    ResBoolSimpleInfo<String> delByOrganId(Long authOrganizationId);

    void delAllByOrganId(Long organId);

    List<AuthOrganizationSubSec> getAllByOrganId(Long organId);
}